//
//  CollectMovieDB.h
//  UI-豆瓣项目APP
//
//  Created by liuxin on 15/11/4.
//  Copyright © 2015年 孙鹏. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MovieList.h"
@interface CollectMovieDB : NSObject
+(instancetype)shareDataBase;
-(void)openDB;
-(void)createTable;
-(void)insertMovie:(MovieList *)movie userName:(NSString*)userName;
-(NSMutableArray*)selectMoview:(NSString*)string;
-(NSMutableArray*)selectAllMoview;
-(void)dropTable;
-(void)deleteMovie:(NSString*)name;
-(void)deleteMovie:(NSString*)name UserName:(NSString*)UserName;
@end
